package com.color.admin.system.entity.vo.post;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * @author HaiQiu
 * @date 2021/12/27
 */
public class PostVo implements Serializable {

    @Schema(example = "", type = "string", description = "主键ID")
    private String id;

    @Schema(example = "董事长", type = "string", description = "角色名称")
    private String postName;

    @Schema(example = "https://gw.alipayobjects.com/zos/rmsportal/jZUIxmJycoymBprLOUbT.png",
            type = "string", description = "图标")
    private String icon;

    @Schema(example = "集团CEO高席指挥官", type = "string", description = "描述")
    private String description;

    @Schema(example = "0", type = "integer", description = "排序")
    private Integer sort;

    @Schema(example = "true", type = "boolean", description = "激活：true激活，false禁用")
    private Boolean active;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getActive() {
        return active;
    }

    public void setActive(Boolean active) {
        this.active = active;
    }
}
